﻿//=======================================================
// Author: Jonas Follesø <jonas@follesoe.no>
// Copyright (c) 2008
//
// Licensed under the Microsoft Public License (Ms-PL)
// A copy of the license is available at 
// http://www.opensource.org/licenses/ms-pl.html
//=======================================================

using System;
using System.Windows;
using Colorful.Control;
using Colorful.Control.Services;

namespace Colorful.Host
{
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();

            ColorfulViewModel viewModel = new ColorfulViewModel(new AdobeKuler(), new CfXamlClipboardFormatter(), new XamlTextClipboardFormatter());
            SearchPanel panel = new SearchPanel(viewModel, true);
            LayoutRoot.Children.Add(panel);
        }
    }
}